<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Day_score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-day_score" class="form-control" name="row[day_score]" type="number" value="{$row.day_score|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">设置积分差额:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-difference"  class="form-control" name="row[difference]" type="number" value="{$row.difference|htmlentities}">
        </div>
    </div>

    <h3 style="color: red;margin: 0;padding: 0 120px 30px 130px">重要提醒:比如平均数有10分 设置了7积分差额 生成的随机积分为3-18 如果设置了5 随机生成的积分为5-16</h1>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">今日抽奖人数:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-day_number" disabled="disabled" class="form-control" name="row[day_number]" type="number" value="{$row.day_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Day_lowest')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-day_lowest" disabled="disabled" class="form-control" name="row[day_lowest]" type="number" value="{$row.day_lowest|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Day_highest')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-day_highest"  disabled="disabled"  class="form-control" name="row[day_highest]" type="number" value="{$row.day_highest|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
